/* 手机版*/

body {
  position: relative;
  overflow-x: hidden;
  background: #333;
}

.m-top {
  position: relative;
  z-index: 99;
  left: 0;
  top: 0;
  width: 100%;
  height: 60px;
  background: #fff;
  border-bottom: 2px solid #21b14c;
}

.m-logo {
  display: block;
  position: absolute;
  left: 10px;
  top: 15px;
}

.m-logo img {
  height: 30px;
}

.m-top .btn {
  position: absolute;
  z-index: 100;
  top: 0;
  right: 0;
  height: 60px;
  padding: 22px 52px 0 10px;
  text-align: center;
}
.m-top .btn::before {
  content: "导航";
  position: absolute;
  right: 10px;
  top: 20px;
  font-size: 18px;
  line-height: 20px;
  color: #000;
}

.m-top .btn span {
  display: block;
  width: 20px;
  height: 3px;
  background: #000;
  transition: 0.3s;
}

.m-top .btn span:nth-child(2) {
  margin: 4px 0;
}

.cross span:nth-of-type(1) {
  transform: translateY(7px) rotate(-45deg);
}

.cross span:nth-of-type(2) {
  opacity: 0;
}

.cross span:nth-of-type(3) {
  transform: translateY(-7px) rotate(45deg);
}

header {
  position: absolute;
  z-index: 99;
  right: -150px;
  top: 0;
  width: 0;
  height: 100%;
  overflow: hidden;
  padding-top: 86px;
  background: #333;
}
.logo {
  display: none;
}
header li a {
  display: block;
  font: 400 16px/36px "微软雅黑";
  color: #fff;
  text-align: center;
}
header .t {
  display: none;
}

.wrapper {
  position: relative;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow-x: hidden;
  background: #fff;
}

@media (min-width: 1200px) {
  header {
    display: block;
    position: absolute;
    right: 0;
    width: 100%;
    height: auto;
    padding: 0;
    overflow: visible;
    background: none;
  }
  .head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 0 3.6vw;
    padding: 1vw 5vw;
    background: #fff;
  }

  .logo {
    display: block;
  }
  .logo img {
    width: 13.8vw;
  }

  .nav ul {
    display: flex;
  }
  .nav ul li {
    padding: 0 1.5vw;
  }
  .nav ul a {
    display: block;
    position: relative;
    overflow: hidden;
    font-size: 0.84vw;
    line-height: 1.4vw;
    color: #333;
  }
  .nav ul a .t {
    display: block;
    transition: 0.3s;
  }
  .nav ul a .b {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    opacity: 0;
    transform: translate3d(100%, 0, 0);
    transition: 0.3s;
  }
  .nav ul a:hover .t {
    opacity: 0;
    transform: translate3d(-100%, 0, 0);
  }
  .nav ul a:hover .b {
    color: #d20202;
    opacity: 1;
    transform: translate3d(0, 0, 0);
  }
}

/* public  */
.public-main {
  width: 100%;
  display: flex;
  justify-content: space-between;
  padding: 0.6rem 0.2rem;
  border-top: 3px solid #dc0303;
}
.public-left {
  width: 5rem;
}
.public-tel {
  display: flex;
  align-items: flex-end;
}
.public-tel span {
  order: 2;
  padding-left: 5px;
  font-size: 14px;
  line-height: 20px;
}
.public-tel p {
  order: 1;
  font-size: 18px;
  line-height: 24px;
  color: #333;
}
.public-info {
  margin-top: 0.1rem;
  font-size: 14px;
  line-height: 24px;
  color: #333;
}

.public-center {
  width: 74px;
  text-align: center;
}
.ewm-img {
  background: #fff;
  border: 1px solid #626262;
}
.ewm-img img {
  width: 100%;
}
.ewm-p {
  margin-top: 0.1rem;
  font-size: 12px;
  line-height: 20px;
  color: #333;
  text-align: center;
}

.public-right {
  display: none;
}

footer {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  padding: 0.2rem;
  font-size: 14px;
  line-height: 20px;
  background: #f2f2f2;
}
footer p,
footer a {
  padding: 0 2px;
  color: #333;
}
@media (min-width: 1200px) {
  .public {
    padding: 0 6vw;
  }
  .public-main {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 3vw 0;
    border-top: 5px solid #dc0303;
  }
  .public-left {
    width: 18vw;
    padding-left: 3.6vw;
    background: url(../images/public-tel.png) no-repeat 0 0/3vw;
  }
  .public-tel {
    display: block;
  }
  .public-tel span {
    display: block;
    font-size: 14px;
    line-height: 16px;
    color: #333;
  }
  .public-tel p {
    font-size: 1.8vw;
    line-height: 2vw;
    color: #333;
  }
  .public-info {
    margin-top: 1.2vw;
    font-size: 0.8vw;
    line-height: 1.4vw;
    color: #333;
  }

  .public-center {
    width: 6.5vw;
    margin: 0 12vw;
    text-align: center;
  }
  .ewm-img {
    background: #fff;
    border: 1px solid #626262;
  }
  .ewm-img img {
    width: 100%;
  }
  .ewm-p {
    margin-top: 0.4vw;
    font-size: 14px;
    line-height: 24px;
    color: #333;
    text-align: center;
  }

  .public-right {
    display: block;
    width: 13.6vw;
  }
  .public-right img {
    width: 100%;
  }

  footer {
    display: flex;
    justify-content: center;
    padding: 1.2vw 0;
    font-size: 14px;
    line-height: 20px;
    background: #f2f2f2;
  }
  footer p,
  footer a {
    padding: 0 5px;
    color: #333;
  }
}
